|
|
 |
|
|
|
|
1. What are the biggest benefits of this subsystem? |
|
|
|
 |
|
|
|
|
The biggest benefit of this subsystem lies in two areas: (a) Security and (b) Troubleshooting and Customer Support. |
|
|
|
 |
|
|
|
|
2. What kinds of database operations are candidates for logging? |
|
|
|
 |
|
|
|
|
Every add, update, delete, and read operation aimed at the database can be logged properly in a hidden file or straight to a database. Every login attempt can also be recorded. |
|
|
|
 |
|
|
|
|
3. In what ways can you store application or user settings? |
|
|
|
 |
|
|
|
|
Your application might require that some user preferences be recorded and remembered the next time the user uses the application. For such requirements, the controller class CApplication will be tasked with enforcing these preferences in conjunction with the Graphical User Interface subsystem. You can record these preferences to a database, regular file, an INI (initialization) file, or the Registry. |
|
|
|
 |
|
|
|
|
4. What kinds of information are potentially useful to record with every log item? |
|
|
|
 |
|
|
|
|
You might want to record the user's ID, start time of transaction, end time of transaction, and possibly the identifier for the transaction or task the user performed. A sequence of these transactions leaves a nice audit trail for any authorized individual. |
|
|
|
 |
|
|
|
|
5. What is a potential downfall of logging too much information? |
|
|
|
 |
|
|
|
|
Your application might encounter performance degradation if it is a very data-intensive system. |
|
|
|
 |
|
|
|
|
1. What's a business rule? |
|
|
|
 |
|
|
|
|
The policy implemented and enforced in the application that provides measurable value to the user(s) of the application. |
|
|
|
 |
|
|
|
|
2. Are domain rules only for business applications? |
|
|
|
 |
|
|
|
|
No. Nonprofit and scientific organizations also use applications for their respective domains, so the expression domain rule is more universal, but not as popular as the expression business rule. |
|
|
|
 |
|
|
|
|
3. What's the purpose of the Business Rules Subsystem? |
|
|
|
 |
|
|
|
|
The Business Rules Subsystem enforces the policy of the user with respect to the user's organizational goals. The business classes and components that make up this subsystem have the main goal of providing one or more solutions to one or more organizational problems. |
|
|
|
|
|